package flst.ipiweb.common;

import java.util.List;
import java.util.Random;
import java.util.UUID;

public class Basket {

	private int id;
	private List<BasketItem> items;

	public Basket() {
		Random r = new Random();
		this.setId(r.nextInt(Integer.MAX_VALUE));
	}

	public Basket(int id) {
		this.setId(id);
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public List<BasketItem> getItems() {
		return items;
	}

	public void setItems(List<BasketItem> items) {
		this.items = items;
	}

}
